package com.pinda.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pinda.auth.entity.PdAuthRoleAuthority;
import com.pinda.auth.view.ConfigView;

/**
 * <p>
 * 角色的资源 Mapper 接口
 * </p>
 *
 * @author 黄杰
 * @since 2023-06-14
 */
public interface PdAuthRoleAuthorityMapper extends BaseMapper<PdAuthRoleAuthority> {
    /**
     * TODO 批量添加角色资源
     * @param configView
     * @return int
     */
    int batchAddRoleAuthority(ConfigView configView);

    /**
     * TODO 批量删除角色资源
     * @param configView
     * @return int
     */
    int batchRemoveRoleAuthority(ConfigView configView);

}
